package models

type ApiLog struct {
	ID         int    `gorm:"primaryKey;autoIncrement"`
	Aid        int    `gorm:"column:aid;default:0"`
	Mid        int    `gorm:"column:mid;default:0"`
	Param      string `gorm:"column:param;type:text"`
	Content    string `gorm:"column:content;type:text"`
	Channel    string `gorm:"column:channel;size:32"`
	CreateTime string `gorm:"column:createtime"`
}

func (ApiLog) TableName() string {
	return "api_log"
}
